package com.jugheadzhou.auth.mapper;

import com.jugheadzhou.auth.entity.UserToken;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.Update;

/**
 * @author jugheadzhou
 */
public interface UserTokenMapper extends BaseMapper<UserToken> {

    /**
     * 删除过期的登陆记录
     *
     * @return
     */
    @Update
    Integer deleteExpired();
}
